using System;
using System.Collections.Generic;
using System.Text;

namespace ShoppingList
{
    public class ShoppingItem
    {
        private string name;
        public string Name
        {
            get { return name; }
            set { name = value; }
        }

        private int timesCheckedOut;
        public int TimesCheckedOut
        {
            get { return timesCheckedOut; }
            set { timesCheckedOut = value; }
        }

        private bool inlist;
        public bool Inlist
        {
            get { return inlist; }
            set { inlist = value; }
        }

        public ShoppingItem(string name)
        {
            this.name = name;
            this.timesCheckedOut = 0;
        }
    }
}
